﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Register : Form
    {
        public Register()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            var uid = userName.Text;
            var pwa = passWord.Text;
            var rPwd = reTryPassWord.Text;

            if(string .IsNullOrEmpty (uid) && string.IsNullOrEmpty （pwd) && pwd ==rPwd )
            {
               MessageBox.Show ("恭喜您，注册成功！")

            }
        }
    }
}
